﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeviceMaintainGIS.Model.Repair
{
    /// <summary>
    /// 报修信息
    /// </summary>
    public class RepairResponse
    {
        /// <summary>
        /// 报修ID
        /// </summary>
        public string RepairId { get; set; }
        /// <summary>
        /// 报修人
        /// </summary>
        public string RepairPersonnel { get; set; }
        /// <summary>
        /// 报修人电话
        /// </summary>
        public string RepairTel { get; set; }
        /// <summary>
        /// 报修单位
        /// </summary>
        public string RepairCompany { get; set; }
        /// <summary>
        /// 故障类型
        /// </summary>
        public string FaultType { get; set; }
        /// <summary>
        /// 故障类型
        /// </summary>
        public string FaultName { get; set; }
        /// <summary>
        /// 故障描述
        /// </summary>
        public string Describe { get; set; }
        /// <summary>
        /// 接报人
        /// </summary>
        public int RecipientID { get; set; }

        /// <summary>
        /// 接报人姓名
        /// </summary>
        public string RecipientName { get; set; }
        /// <summary>
        /// 受理人ID
        /// </summary>
        public int RMuserID { get; set; }


        /// <summary>
        /// 受理人姓名
        /// </summary>
        public string RMuserName { get; set; }

        /// <summary>
        /// 报修时间
        /// </summary>
        public DateTime RepairTime { get; set; }
        /// <summary>
        /// 操作步骤
        /// </summary>
        public int Step { get; set; }
    }
    /// <summary>
    /// 售后服务返回信息
    /// </summary>
    public class AfterSaleRecordResponse
    {
        /// <summary>
        /// 报修ID
        /// </summary>
        public string RepairId { get; set; }
        /// <summary>
        /// 报修人
        /// </summary>
        public string RepairPersonnel { get; set; }
        /// <summary>
        /// 报修人电话
        /// </summary>
        public string RepairTel { get; set; }
        /// <summary>
        /// 报修单位
        /// </summary>
        public string RepairCompany { get; set; }
        /// <summary>
        /// 故障类型
        /// </summary>
        public string FaultType { get; set; }
        /// <summary>
        /// 故障类型
        /// </summary>
        public string FaultName { get; set; }
        /// <summary>
        /// 受理人ID
        /// </summary>
        public int RMuserID { get; set; }


        /// <summary>
        /// 受理人姓名
        /// </summary>
        public string RMuserName { get; set; }

        /// <summary>
        /// 报修时间
        /// </summary>
        public DateTime RepairTime { get; set; }

        /// <summary>
        /// 状态 0未处理1已处理2保存-1 结束
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 操作步骤
        /// </summary>
        public int Step { get; set; }
        /// <summary>
        /// 报修步骤
        /// </summary>
        public int Operator { get; set; }

    }

    /// <summary>
    /// 保修详细信息
    /// </summary>
    public class RepairRelation
    {
        /// <summary>
        /// 报修ID
        /// </summary>
        public string RelationGuid { get; set; }
        /// <summary>
        /// 报修编号
        /// </summary>
        public string RepairId { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public System.DateTime AddTime { get; set; }
        /// <summary>
        /// 当前表名
        /// </summary>
        public string TableName { get; set; }
        /// <summary>
        /// 步骤
        /// </summary>
        public int Step { get; set; }
        /// <summary>
        /// 当前操作人
        /// </summary>
        public int OperatorID { get; set; }
        /// <summary>
        /// 下一步操作人
        /// </summary>
        public int NextOperatorID { get; set; }
        /// <summary>
        /// 下一步操作
        /// </summary>

        public int Operator { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
    }
}
